
package com.eltonkent.ui.wrappers;

import android.view.View;
import android.widget.ImageView;
import android.widget.TextView;

import com.eltonkent.R;

public class TemplateListWrapper
{
	private final View base;
	private ImageView icon;
	private TextView text;

	public TemplateListWrapper(View base)
	{
		this.base = base;
	}

	public ImageView getIcon()
	{
		if(icon == null)
		{
			icon = (ImageView) base.findViewById(R.id.listIcon);
		}
		return icon;
	}

	public TextView getText()
	{
		if(text == null)
		{
			text = (TextView) base.findViewById(R.id.listLine1);

		}
		return text;
	}

}
